-
Notifications
You must be signed in to change notification settings - Fork 415
⬆️(dependencies) update js dependencies #1375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Size Change: +5.1 kB (+0.14%) Total Size: 3.68 MB
|
611b0dc
to
bf00dad
Compare
e0bce82
to
3f02602
Compare
1374e90
to
be5dc6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates JavaScript dependencies across the project, with the major changes involving upgrading BlockNote packages from 0.37.0 to 0.40.0, Hocuspocus from 2.x to 3.x, and various other supporting library updates. The upgrades require significant changes to custom block implementations, collaboration server configuration, and several API adaptations for compatibility with the new versions.
Key Changes:
- Upgraded BlockNote packages (0.37.0 → 0.40.0) requiring restructuring of custom blocks (Callout, PDF, Image) to comply with new implementation patterns
- Migrated Hocuspocus server and provider from v2.15.2 to v3.2.5, updating connection handling and API usage
- Updated mutation hooks to support new TanStack Query v5.90.2 callback signatures (added
onMutateResult
parameter)
Reviewed Changes
Copilot reviewed 64 out of 68 changed files in this pull request and generated 6 comments.
Show a summary per file
File | Description |
---|---|
package.json files | Dependency version bumps across all frontend packages and e2e tests |
hocuspocusServer.ts | Updated Hocuspocus server initialization and connection API for v3 |
Custom block components | Refactored block specifications to use new BlockNote factory pattern |
Mutation hooks | Updated callback signatures for new TanStack Query parameters |
Provider store | Enhanced connection state management with ready/synced states |
E2E tests | Updated selectors and assertions for BlockNote DOM structure changes |
Export mappings | Removed custom divider block in favor of BlockNote default |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
||
export function useUpdateDocLink({ | ||
onSuccess, | ||
listInvalideQueries, |
Copilot
AI
Oct 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'listInvalideQueries' to 'listInvalidQueries'.
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will do it in a separate PR.
src/frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/PdfBlock.tsx
Show resolved
Hide resolved
src/frontend/apps/impress/src/features/docs/doc-management/stores/useProviderStore.tsx
Show resolved
Hide resolved
...frontend/apps/impress/src/features/docs/doc-editor/components/custom-blocks/CalloutBlock.tsx
Show resolved
Hide resolved
be5dc6c
to
6408604
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve tested the app locally after all dependency upgrades:
Editor and custom blocks (Callout, Image, PDF, Divider) behave correctly, no flicker or rendering issues.
I also checked dependency versions, everything seems to be aligned except @blocknote/server-util, still at 0.40.0 while others are 0.41.1.
Nice job !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ve tested the app locally after all dependency upgrades:
Editor and custom blocks (Callout, Image, PDF, Divider) behave correctly, no flicker or rendering issues.
I also checked dependency versions, everything seems to be aligned except @blocknote/server-util, still at 0.40.0 while others are 0.41.1.
Nice job !
6408604
to
4051e72
Compare
Version 4.0.0 is not yet compatible with UiKit, better to wait.
Recent upgrade of @tanstack/react-query to version >5.90 introduced a breaking change in the onSuccess and onError callback signatures for the useMutation hook. The context parameter has been replaced with an onMutateResult parameter, which provides information about the result of the onMutate callback.
Blocknote now has a built-in divider block, so we can remove our custom implementation.
Last release of Blocknote introduced breaking changes for custom blocks. We adapted our custom blocks to the new implementation. "code-block" is considered as a block now, we update the way to import and use it. The custom blocks should be now more tiptap friendly.
4051e72
to
196d1d7
Compare
The last version of Blocknote seems to have a conflict with hocuspocus 2.15.2, it is a good moment to upgrade to hocuspocus 3.2.5.
Move the `useUpdateDocLink` hook from the `doc-management` feature to the `doc-share` feature to better align with its functionality related to document sharing.
When we open the share modal, the requests were then in cache, if other users where interacting with the share settings in parallel, we would not see the changes until the cache expired. We now force a fresh fetch of the data when opening the share modal, it ensures we always have the latest data when opening the modal.
The tests e2e highlighted a problem where content was lost during synchronization. This bug started to occurs after upgrading Blocknote to 0.41.1 version. It seems to happen only when the initial document is empty and 2 users are collaborating, so before the first minute. We now initialize the editor only when the y-doc has attempted to sync. This should ensure that all updates are applied before the editor is initialized.
196d1d7
to
145c688
Compare
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
0.37.0
->0.40.0
0.37.0
->0.40.0
0.37.0
->0.40.0
0.37.0
->0.40.0
0.37.0
->0.40.0
0.37.0
->0.40.0
0.37.0
->0.40.0
0.37.0
->0.40.0
5.2.5
->5.2.7
0.16.1
->0.16.2
15.5.3
->15.5.4
3.2.3
->4.0.0
1.55.0
->1.55.1
4.3.0
->4.3.1
10.11.0
->10.17.0
10.11.0
->10.17.0
10.11.0
->10.17.0
5.86.0
->5.91.0
5.87.4
->5.90.2
5.87.4
->5.90.2
6.8.0
->6.9.1
22.18.1
->22.18.8
19.1.12
->19.2.0
19.1.9
->19.2.0
8.43.0
->8.45.0
8.43.0
->8.45.0
5.0.2
->5.0.4
1.0.1
->1.3.16
1.12.0
->1.12.2
10.0.0
->10.1.0
17.2.2
->17.2.3
9.35.0
->9.37.0
15.5.3
->15.5.4
7.6.8
->7.11.0
25.5.2
->25.5.3
30.1.3
->30.2.0
26.1.0
->27.0.0
4.15.3
->4.16.1
15.5.3
->15.5.4
1.1.1
->2.1.7
1.264.2
->1.271.0
19.1.1
->19.2.0
1.12.1
->1.13.0
19.1.1
->19.2.0
15.7.3
->16.0.0
16.24.0
->16.25.0
39.0.0
->39.0.1
29.4.1
->29.4.4
5.9.2
->5.9.3
5.101.3
->5.102.0
Release Notes
TypeCellOS/BlockNote (@blocknote/code-block)
v0.40.0
Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
v0.39.1
Compare Source
🩹 Fixes
❤️ Thank You
v0.39.0
Compare Source
🚀 Features
❤️ Thank You
v0.38.0
Compare Source
🚀 Features
🩹 Fixes
❤️ Thank You
fontsource/font-files (@fontsource/material-icons)
v5.2.7
Compare Source
v5.2.6
Compare Source
vercel/next.js (@next/eslint-plugin-next)
v15.5.4
Compare Source
Core Changes
Misc Changes
Credits
Huge thanks to @yiminghe, @huozhi, @devjiwonchoi, @mischnic, @lukesandberg, @ztanner, @icyJoseph, @leerob, @fufuShih, @dwrth, @aymericzip, @obendev, @molebox, @OoMNoO, @pontasan, @styfle, @HondaYt, @ryuapp, @lpalmes, and @ijjk for helping!
microsoft/playwright (@playwright/test)
v1.55.1
Compare Source
Highlights
#37479 - [Bug]: Upgrade Chromium to 140.0.7339.186.
#37147 - [Regression]: Internal error: step id not found.
#37146 - [Regression]: HTML reporter displays a broken chip link when there are no projects.
#37137 - Revert "fix(a11y): track inert elements as hidden".
Browser Versions
This version was also tested against the following stable channels:
diegomura/react-pdf (@react-pdf/renderer)
v4.3.1
Compare Source
Patch Changes
#3124
dcc7b403
Thanks @pcorpet! - feat(pdfdownloadlink): add a ref to the link componentUpdated dependencies [
beaffd3d
,a99d10fb
,5cbe2fb0
,ec063bec
]:getsentry/sentry-javascript (@sentry/nextjs)
v10.17.0
Compare Source
Important Changes
feat(nuxt): Implement server middleware instrumentation (#17796)
This release introduces instrumentation for Nuxt middleware, ensuring that all middleware handlers are automatically wrapped with tracing and error reporting functionality.
fix(aws-serverless): Take
http_proxy
into account when choosinguseLayerExtension
default (#17817)The default setting for
useLayerExtension
now considers thehttp_proxy
environment variable.When
http_proxy
is set,useLayerExtension
will be off by default.If you use a
http_proxy
but would still like to make use of the Sentry Lambda extension, exemptlocalhost
in ano_proxy
environment variable.Other Changes
beforeSendSpan
(#17815)Internal Changes
v10.16.0
Compare Source
replay_is_buffering
flag (#17752)instrumentAnthropicAiClient
breaking MessageStream api (#17754)Internal Changes
publish_release
command (#17797)import-in-the-middle
when building the Lambda layer (#17780)[email protected]
due to@vercel/nft
incompatibility (#17777)" (#17784)[email protected]
due to@vercel/nft
incompatibility (#17777)v10.15.0
Compare Source
Important Changes
feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
This release adds a
honoIntegration
to@sentry/cloudflare
, which exposes ashouldHandleError
function that lets you define which errors inonError
should be captured.By default, Sentry captures exceptions with
error.status >= 500 || error.status <= 299
.The integration is added by default, and it's possible to modify this behavior like this:
feat(node): Add instrumentation for hono handler (#17428)
This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.
feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)
feat(browser): Add
setActiveSpanInBrowser
to set an active span in the browser (#17714)This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.
Other Changes
0
andundefined
resource timing values (#17751)Internal Changes
@typescript-eslint/no-unnecessary-type-assertion
rule (#17728)es2020
everywhere (#17709)Work in this release was contributed by @Karibash. Thank you for your contribution!
v10.14.0
Compare Source
Important Changes
feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#17723)
The SDK now supports manually instrumenting Google's Generative AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use
const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient)
to get an instrumented client.Other Changes
WeakRef
when storing it on spans (#17712)Internal Changes
v10.13.0
Compare Source
Important Changes
feat(browser): Add option to explicitly end pageload span via
reportPageLoaded()
(#17697)With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:
Note that if
Sentry.reportPageLoaded()
is not called within 30 seconds of the initial pageload (or whatever value thefinalTimeout
option is set to), the pageload span will be ended automatically.feat(core,node): Add instrumentation for
GoogleGenerativeAI
(#17625)The SDK now automatically instruments the
@google/generative-ai
package to provide insights into your AI operations.feat(nextjs): Promote
useRunAfterProductionCompileHook
to non-experimental build option (#17721)The
useRunAfterProductionCompileHook
option is no longer experimental and is now a stable build option for Next.js projects.feat(nextjs): Use
afterProductionCompile
hook for webpack builds (#17655)Next.js projects using webpack can opt-in to use the
useRunAfterProductionCompileHook
hook for source map uploads.feat(nextjs): Flip default value for
useRunAfterProductionCompileHook
for Turbopack builds (#17722)The
useRunAfterProductionCompileHook
option is now enabled by default for Turbopack builds, enabling automated source map uploads.feat(node): Do not drop 300 and 304 status codes by default (#17686)
HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.
Other Changes
onSuccess
tohandleCallbackErrors
(#17679)consoleLoggingIntegration
(#17703)os
context (#17720)thirdPartyErrorFilterIntegration
(#17693)this
context for vercel AI instrumentation (#17681)Internal Changes
reportPageLoaded
(#17724)getTestMatrix
(#17673)SyncPromise
where not needed (#17641)ignoreSpans
(#17692)module_metadata
assignment and cleanup functions (#17696)HandleDocumentRequestFunction
(#17680)Work in this release was contributed by @Olexandr88. Thank you for your contribution!
v10.12.0
Compare Source
Important Changes
ref: Add and Adjust error event
mechanism
valuesThis release includes a variety of changes aimed at setting the
mechanism
field on errors captured automatically by the Sentry SDKs. The intention is to clearly mark which instrumentation captured an error. In addition, some instrumentations previously did not yet annotate the error as handled or unhandled which this series of PRs corrects as well.Relevant PRs
Released in
10.12.0
:mechanism
on error events captured by astro middleware (#17613)mechanism
of errors captured in Bun.serve (#17616)mechanisms
and durable object origin (#17618)mechanism
incaptureConsoleIntegration
(#17633)mechanism
(#17622)linkedErrors
mechanism logic (#17600)mechanism
of errors caught byglobalHandlersIntegration
(#17635)mechanism
s (#17543)mechanism
to cron instrumentations (#17544)mechanism.type
to worker thread errors fromchildProcessIntegration
(#17578)mechanism
ofonUnhandledRejection
andonUnhandledException
integrations (#17636)mechanism.type
in error events (#17599)reactErrorHandler
and adjust mechanism inErrorBoundary
(#17602)captureRemixServerException
(#17629)replayIntegration
in debug mode (#17606)mechanism
to error captured bywithSentryErrorBoundary
(#17607)mechanism
of error events (#17646)Released in
10.11.0
:mechanism.type
to errors cConfiguration
📅 Schedule: Branch creation - "before 7am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.